﻿<html>

<head>

<!--COMMON :include style and javascript code-->
${inc:/action/pub/common}

<title>回迁抓阄信息</title>

</head>

<body onmouseup="hidInputValidatorTip(3);">
<!--a name="A0" id="A0"></a-->

<!--COMMON HEADER-->
${inc:/action/pub/header}

<center>

<!--filter form-->
<div id="divFilter" style="display:none;width:100%">
</div>

<!--addnew/edit form-->
<div id="divEditor" style="display:none;width:100%">
</div>

<!--insert/update response-->
<div id="divEditorResponse" style="display:none;width:100%">
</div>

<!--grid view response-->
<div id="response" style="display:none;width:100%">
</div>

<!--progress indicator-->
<div id="divStatus" class="alert" style="text-align:left; display:none;color:gray;width:150px;font-weight:bold;font-family:Arial">
	<img src="${def:context}/images/progress.gif"> 请稍候...
</div>

<!--show linked grid-->
<iframe id="detail" name="detail" marginwidth="0" scrolling="yes" frameborder="0" style="height:0%;width:100%;visibility:hidden">
</iframe>

<!--用于传递当前目录到header模版中-->
<input type="hidden" name="actionroot" id="actionroot" value="${def:actionroot}">

</center>

</body>

</html>

<SCRIPT LANGUAGE="JavaScript">

//字段校验
function checkFields(){
    if(CheckNull("name","formEditor")) return false;
	if(CheckNull("address","formEditor")) return false;
    if(CheckNull("jiu_date","formEditor")) return false;
    return true;
}
</SCRIPT>



<script type="text/javascript">


function searchBack(){
    document.getElementById("divFilter").style.display = "";
    return true;
}

function addNewBackSetting(){
    return true;
}

function formIFrameMaster(id)
{
	$("detail").style.visibility = "visible"; 
	$("detail").style.height = "300%"; 
	$("detail").src ='${def:context}${def:actionroot}/master/crud?id=' + id;
}

function formIFrameJiuchi(id)
{
	$("detail").style.visibility = "visible"; 
	$("detail").style.height = "300%"; 
	$("detail").src ='${def:context}${def:actionroot}/jiuchi/crud?id=' + id;
}

function formIFrameJiupiao(id)
{
	$("detail").style.visibility = "visible"; 
	$("detail").style.height = "500%"; 
	$("detail").src ='${def:context}${def:actionroot}/jiupiao/crud?id=' + id;
}

function formHidden()
{
	$("detail").style.visibility = "hidden"; 
	$("detail").style.height = "0%"; 
	search();
}



function printJiupiao(id)
{
	var features = "height=500,width=800,status=no,toolbar=no,menubar=no,location=no,scrollbars=yes,resizable=yes";
    	var url = "${def:context}${def:actionroot}/pdf?id="+id+"&random=" + Math.random();
	var w = window.open(url, null, features);
}

function printJiupiaoHTML(id)
{
	var features = "height=500,width=800,status=no,toolbar=no,menubar=yes,location=no,scrollbars=yes,resizable=yes";
    	var url = "${def:context}${def:actionroot}/html?id="+id+"&random=" + Math.random();
	var w = window.open(url, null, features);
}


loadEditor();
loadFilter(search);

</script>
    